package org.frame.gateway.hystrix;

import org.frame.common.core.AjaxResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FallbackController {
	
	@RequestMapping("/fallback")
	public AjaxResult fallback() {
		return AjaxResult.error("服务不可用");
	}
	
}
